/**
 * 与用户有关的API接口
 */

import request from '../../utils/request.js';

/**
 * 获取用户信息
 */
export function getUserInfo(open_id){
	return request({
		url:`/user/getUserInfo/${open_id}`,
		method:'get'
	})
}

export function userLogin(data){
	return request({
		url:'/user/login',
		method:'post',
		data
	})
}

